from rembg import remove
from removebg import RemoveBg

# 待处理的图片路径
input_path = './input/signature.jpg'
# 处理后存储的图片路径
output_path = './output/signature.jpg'

api_key = "yk8pnr6KWsSNYoX87xtVDete"
rmbg = RemoveBg(api_key, "./logs/error.log")
rmbg.remove_background_from_img_file(input_path)

